package com.hzx.dao;

import com.hzx.pojo.School;
import org.springframework.stereotype.Repository;

@Repository
public interface SchoolMapper {

    Integer deleteByPrimaryKey(Integer id);

    Integer insert(School record);

    Integer insertSelective(School record);

    School selectByPrimaryKey(Integer id);

    Integer updateByPrimaryKeySelective(School record);

    Integer updateByPrimaryKey(School record);

    School selectBySchool(String name);
}
